package io.gitee.skyarthur1987.leporidae.delayqueue.exception;

import io.gitee.skyarthur1987.leporidae.delayqueue.dto.BatchDelayQueueTask;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by skyarthur on 2024/3/10
 */
@Slf4j
public class DefaultDelayQueueConsumerExceptionHandler implements DelayQueueConsumerExceptionHandler{
    @Override
    public void handle(Throwable e, BatchDelayQueueTask task) {
        log.error("DelayQueueConsumer accept fail, exception: ", e);
    }
}
